<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>STDSErrorCode Constants Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">Stripe3DS2 </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">Stripe</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	

	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">STDSErrorCode Constants Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Declared in</th>
	<td>STDSStripe3DS2Error.h</td>
</tr>
						</tbody></table></div>
					

                    

					

                    
                    <h3 class="subsubtitle method-title">STDSErrorCode</h3>
                    
					
					<div class="section section-overview">
                        <p>NSError.userInfo contains this key if we couldn&rsquo;t recognize critical message extension(s)
The value of this key is an array of identifiers.</p>
					</div>
					
					
                    <div class="section">
                        <!-- display enum values -->
                        
                        <h4 class="method-subtitle">Definition</h4>
                        <code>typedef NS_ENUM(NSInteger, STDSErrorCode ) {<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeAssertionFailed</a> = 204,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeJSONFieldInvalid</a> = 203,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeJSONFieldMissing</a> = 201,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeUnrecognizedCriticalMessageExtension</a> = 202,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeDecryptionVerification</a> = 302,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeRuntimeParsing</a> = 400,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeRuntimeEncryption</a> = 401,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeReceivedErrorMessage</a> = 1000,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeUnknownMessageType</a> = 1001,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeTimeout</a> = 1002,<br>
                            
                            &nbsp;&nbsp; <a href="">STDSErrorCodeUnknownError</a> = 2000,<br>
                            
                            };</code>
                    
                    </div>
                    
                    <div class="section section-methods">
                        <h4 class="method-subtitle">Constants</h4>
                        <dl class="termdef">
                            
                            <dt><a name="" title="STDSErrorCodeAssertionFailed"></a><code>STDSErrorCodeAssertionFailed</code></dt>
<dd>


<p>Code triggered an assertion</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeJSONFieldInvalid"></a><code>STDSErrorCodeJSONFieldInvalid</code></dt>
<dd>


<p>Received invalid or malformed data</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeJSONFieldMissing"></a><code>STDSErrorCodeJSONFieldMissing</code></dt>
<dd>


<p>Expected field missing</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeUnrecognizedCriticalMessageExtension"></a><code>STDSErrorCodeUnrecognizedCriticalMessageExtension</code></dt>
<dd>


<p>Critical message extension not recognised</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeDecryptionVerification"></a><code>STDSErrorCodeDecryptionVerification</code></dt>
<dd>


<p>Decryption or verification error</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeRuntimeParsing"></a><code>STDSErrorCodeRuntimeParsing</code></dt>
<dd>


<p>Error code corresponding to a <a href="../Classes/STDSRuntimeErrorEvent.html"><code>STDSRuntimeErrorEvent</code></a> for an unparseable network response</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeRuntimeEncryption"></a><code>STDSErrorCodeRuntimeEncryption</code></dt>
<dd>


<p>Error code corresponding to a <a href="../Classes/STDSRuntimeErrorEvent.html"><code>STDSRuntimeErrorEvent</code></a> for an error with decrypting or verifying a network response</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeReceivedErrorMessage"></a><code>STDSErrorCodeReceivedErrorMessage</code></dt>
<dd>


<p>We received an ErrorMessage instead of the expected response object.  <code>userInfo[STDSStripe3DS2ErrorMessageErrorKey]</code> will contain the ErrorMessage object.</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeUnknownMessageType"></a><code>STDSErrorCodeUnknownMessageType</code></dt>
<dd>


<p>We received an unknown message type.</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeTimeout"></a><code>STDSErrorCodeTimeout</code></dt>
<dd>


<p>Request timed out</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                            <dt><a name="" title="STDSErrorCodeUnknownError"></a><code>STDSErrorCodeUnknownError</code></dt>
<dd>


<p>Unknown</p>





    
	<p>
		Declared In <code class="declared-in-ref">STDSStripe3DS2Error.h</code>.
	</p>
	
</dd>
                            
                        </dl>
                    </div>
                    

                    
                    

                    

                    
                    <div class="method-subsection declared-in-section">
                        <h4 class="method-subtitle">Declared In</h4>
                        <p><code class="declared-in-ref">STDSStripe3DS2Error.h</code></p>
                    </div>
                    
                    
                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2019 Stripe. All rights reserved. Updated: 2019-05-21</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>